package com.generator.domain;

/**
 * Created with IntelliJ IDEA.
 * User: wangyanginfo
 * Date: 12-9-21
 * Time: 上午10:49
 * To change this template use File | Settings | File Templates.
 */
public class Column {
    // 主键标识
    public static final String PRI = "PRI";
    // 唯一标识
    public static final String UNI = "UNI";
    // 可重复标识
    public static final String MUL = "MUL";

    // 列名称
    private String name;
    // 列类别
    private int type;
    // 列类别名称
    private String typeName;
    // 键值类型
    private String key;
    // 注解
    private String comment;

    private String fieldName;

    private String fieldType;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getFieldType() {
        return fieldType;
    }

    public void setFieldType(String fieldType) {
        this.fieldType = fieldType;
    }
}
